package com.frejoys.common.vo.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class UserVo {

    // id
    @Schema(type = "Long", name = "id", description = "id", required = true, defaultValue = "1")
    private Long id;

    // 昵称
    @Schema(type = "String", name = "nickname", description = "昵称", required = true, defaultValue = "1")
    private String nickname;

    // 头像
    @Schema(type = "String", name = "avatar", description = "头像", required = true, defaultValue = "1")
    private String avatar;

    // 电话区号
    @Schema(type = "String", name = "countryCode", description = "电话区号", required = true, defaultValue = "1")
    private String countryCode;

    // 电话
    @Schema(type = "String", name = "phone", description = "电话", required = true, defaultValue = "1")
    private String phone;

    // 创建时间
    @Schema(type = "Integer", name = "createTime", description = "创建时间", required = true, defaultValue = "1")
    private Integer createTime;

    // 最后登录时间
    @Schema(type = "Integer", name = "lastLoginTime", description = "最后登录时间", required = true, defaultValue = "1")
    private Integer lastLoginTime;

    // 角色
    @Schema(type = "Integer", name = "role", description = "角色：0普通用户，1达人，2代理人，4商家，512管理员", required = true, defaultValue = "1")
    private Integer role;

    @Schema(type = "Integer", name = "status", description = "状态：-1禁止登录，0注销，1正常", required = true, defaultValue = "1")
    private Integer status;

    @Schema(type = "Long", name = "agentUserId", description = "代理id", required = true, defaultValue = "1")
    private Long agentUserId;

    @Schema(type = "String", name = "agentPhone", description = "代理电话", required = true, defaultValue = "1")
    private String agentPhone;

    @Schema(type = "String", name = "agentNickname", description = "代理昵称", required = true, defaultValue = "1")
    private String agentNickname;

    @Schema(type = "Integer", name = "storeEnterId", description = "商家入驻id", required = true, defaultValue = "1")
    private Integer storeEnterId;

    @Schema(type = "Integer", name = "storeCount", description = "店铺数量", required = true, defaultValue = "1")
    private Integer storeCount;

//    @Schema(type = "Integer", name = "goodsCount", description = "商品数量", required = true, defaultValue = "1")
//    private Integer goodsCount;
//
//    @Schema(type = "Integer", name = "orderCount", description = "订单数量", required = true, defaultValue = "1")
//    private Integer orderCount;
}
